Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test Controller::validate() with string rules #2807

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

samsonasik
Copy link
Member

By this, CodeIgniter\Controller class will have 100% test coverage. I updated manual instantiation of Config\Validation with config('Validation) which make it testable.

Checklist:

  • Securely signed commits
  • Unit testing, with >80% coverage

@samsonasik samsonasik force-pushed the test-controller-100 branch from 2ea00b4 to 2dce190 Compare April 6, 2020 10:22
@lonnieezell
Copy link
Member

Nice. Thanks!

@lonnieezell lonnieezell merged commit e62b9cf into codeigniter4:develop Apr 6, 2020
@samsonasik samsonasik deleted the test-controller-100 branch April 6, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants